import { createApp } from "vue";
import "./style.scss";
import App from "./App.vue";
import router from "@/router/index";
import { createPinia } from "pinia";
import "@/mock/index";
import mavonEditor from "mavon-editor";
import "mavon-editor/dist/css/index.css";
import LazyDirective from '@/utils/lazyimg';
import "amfe-flexible";

createApp(App)
    .use(router)
    .use(createPinia())
    .use(mavonEditor)
    .directive('lazy', LazyDirective)
    .mount("#app");
